<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>员工姓名</label>
              <span>（员工，用于前端展示）</span>
              <input class="form-control" name="name" placeholder="请输入员工姓名" value="{$info['name']|default=''}" type="text">
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
              <label>手机号</label>
              <input class="form-control" name="phone" placeholder="请输入手机号" value="{$info['phone']|default='0'}" type="text">
            </div>
          </div> 

         <div class="col-md-6">
            <div class="form-group">
              <label>性别</label>
             
              <select name="sex" class="form-control"> 
                  <option value="0" {notempty name='info' }{if condition= "$info['sex'] eq 0"} selected="selected" {/if}{/notempty}>男</option>
                  <option value="1" {notempty name='info' }{if condition= "$info['sex'] eq 1"} selected="selected" {/if}{/notempty}>女</option>
              </select>
            </div>
          </div>

         <div class="col-md-6">
            <div class="form-group">
              <label>密码</label>
              <input class="form-control" name="password" placeholder="请输入密码" value="{$info['password']|default='0'}" type="password">
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>权限</label>
              <input class="form-control" name="authority" placeholder="请输入权限" value="{$info['authority']|default='0'}" type="text">
            </div>
          </div>
  
            
          </div>
        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
      </div>
        
      </div>

</form>